import request from '@/utils/request'

// 底图列表
export const getBaseMapList = (params) => {
  return request({
    method: 'get',
    url: '/resource/mapbase/query',
    params: params,
  })
}

// 新增底图
export const baseMapAdd = (params) => {
  return request({
    method: 'post',
    url: '/resource/mapbase/add',
    data: params,
  })
}
// 新增底图
export const baseMapEdit = (pkid, params) => {
  return request({
    method: 'put',
    url: `/resource/mapbase/update/${pkid}`,
    data: params,
  })
}
// 新增底图
export const baseMapDelete = (params) => {
  return request({
    method: 'delete',
    url: '/resource/mapbase/delete',
    params: params,
  })
}
